package com.mate.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 票房排行
 * </p>
 *
 * @author boy
 * @since 2020-05-16
 */
@TableName("m_wish")
public class MWish extends Model<MWish> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("create_time")
    private Date createTime;
    private String dir;
    @TableField("global_released")
    private String globalReleased;
    @TableField("movie_id")
    private Integer movieId;
    private String img;
    private String nm;
    @TableField("pub_desc")
    private String pubDesc;
    private String rt;
    private double sc;
    private String star;
    private Integer wish;
    @TableField("sum_box_office")
    private String sumBoxOffice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public String getGlobalReleased() {
        return globalReleased;
    }

    public void setGlobalReleased(String globalReleased) {
        this.globalReleased = globalReleased;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getNm() {
        return nm;
    }

    public void setNm(String nm) {
        this.nm = nm;
    }

    public String getPubDesc() {
        return pubDesc;
    }

    public void setPubDesc(String pubDesc) {
        this.pubDesc = pubDesc;
    }

    public String getRt() {
        return rt;
    }

    public void setRt(String rt) {
        this.rt = rt;
    }

    public double getSc() {
        return sc;
    }

    public void setSc(double sc) {
        this.sc = sc;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public Integer getWish() {
        return wish;
    }

    public void setWish(Integer wish) {
        this.wish = wish;
    }

    public String getSumBoxOffice() {
        return sumBoxOffice;
    }

    public void setSumBoxOffice(String sumBoxOffice) {
        this.sumBoxOffice = sumBoxOffice;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "MWish{" +
                ", id=" + id +
                ", createTime=" + createTime +
                ", dir=" + dir +
                ", globalReleased=" + globalReleased +
                ", movieId=" + movieId +
                ", img=" + img +
                ", nm=" + nm +
                ", pubDesc=" + pubDesc +
                ", rt=" + rt +
                ", sc=" + sc +
                ", star=" + star +
                ", wish=" + wish +
                ", sumBoxOffice=" + sumBoxOffice +
                "}";
    }
}
